You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-10-23T23:05:00.790+0100 [main] INFO org.redisson.Version - Redisson 3.5.4
2017-10-23T23:05:06.025+0100 [redisson-netty-1-6] INFO org.redisson.connection.pool.MasterConnectionPool - 10 connections initialized for localhost/127.0.0.1:6379
2017-10-23T23:05:06.025+0100 [redisson-netty-1-7] INFO org.redisson.connection.pool.MasterPubSubConnectionPool - 1 connections initialized for localhost/127.0.0.1:6379
2017-10-23T23:05:06.056+0100 [main] INFO org.redisson.Version - Redisson 3.5.4
2017-10-23T23:05:06.067+0100 [redisson-netty-5-6] INFO org.redisson.connection.pool.MasterConnectionPool - 10 connections initialized for localhost/127.0.0.1:6379
2017-10-23T23:05:06.067+0100 [redisson-netty-5-7] INFO org.redisson.connection.pool.MasterPubSubConnectionPool - 1 connections initialized for localhost/127.0.0.1:6379
2017-10-23T23:05:06.138+0100 [main] INFO org.redisson.RedissonNode - 8 map reduce worker(s) registered
2017-10-23T23:05:06.141+0100 [main] INFO org.redisson.RedissonNode - 1 worker(s) for 'MyExecutor' Exe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fastest running code for classic Java interview question: Display fibonacci sequences with recursion.
Performance king (remember the question: with recursion)
Print from 1st to 92th in less than 0.7ms (Intel first generation i7-920 2.66G)
This solutions is limited to upto 92th number due to the size of long but very memory efficient while remain high performance.
A Live Object can be understood as an enhanced version of standard Java object, of which an instance reference can be shared not only between threads in a single JVM, but can also be shared between different JVMs across different machines. Wikipedia discribes it as:
Live distributed object (also abbreviated as live object) refers to a running instance of a distributed multi-party (or peer-to-peer) protocol, viewed from the object-oriented perspective, as an entity that has a distinct identity, may encapsulate internal state and threads of execution, and that exhibits a well-defined externally visible behavior.
How Redisson Live Object works
Redisson Live Object (RLO) realised this idea by mapping all the fields inside a Java class to a redis hash through a runtime-constructed proxy class. All the get/set methods of each field are translated to hget/hset commands operated on the redis hash, making it accessable to/from any clients connected to the same redis server. As we a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Block IP that brute forcing wordpress logins in one line. Requres UFW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters