Is MongoDB-backed persistence still in Akka? - scala

I found some docs for mongodb persistence in Akka 1.0, but can't seem to find any mention of it in the 1.2 docs. Was it removed? I also can't find anything that says it was removed or deprecated.
If it is still in Akka, any links to relevant docs would be appreciated.
Thanks!

Unfortunately, they decided to remove it in Akka 1.1: http://groups.google.com/group/akka-user/browse_thread/thread/8867fd5c9d64db4e

Related

Is Guava RateLimiter thread-safe

Couldn't find definite answer via googling, stackoverflow search and on github as well about this, but is Guava RateLimiter thread-safe?
Yes it is. Found it in source code.
https://github.com/google/guava/blob/master/guava/src/com/google/common/util/concurrent/RateLimiter.java#L41-L42

Implement publish-subscribe pattern using Curator/Zookeeper

If you have implemented publish-subscribe pattern using Curator/Zookeeper could you please share your experience? We're currently doing proof-of-concept and your feedback would help big time!
Found this Pub-Sub Example link which shows an example using Curator. The note in that example says "it is not meant for production". Are they saying it's not a good pattern to use with Curator and they're only using it as an example to show Curator features? Or are they saying the pattern works well with Curator but the example is not something you would implement in Production?
Would also help to know pros and cons besides the well-known 1MB limitation on a znode size.
Your help will be greatly appreciated!
Came across this Curator Tech Note link which talks about using Zookeeper as a Queue source. Looks like most (if not all) bullets on that page would apply to using ZooKeeper as a publish-subscribe source as well.
So the verdict is ZooKeeper would make a bad publish-subscribe model.

What's the alternative to Akka Aggregator as it will be deprecated in 2.5

In the Akka documentation version 2.5-SNAPSHOT, it says:
Deprecation warning - Aggregator has been deprecated and is scheduled for removal in the next major version. Feel free to copy the source into your project or create a separate library outside of Akka.
But it doesn't say what will (if any) replace it.
So what alternatives are available to Akka Aggregator?
To quote from the issue when it was removed:
I'd vote for deprecating Aggregator and ReceivePipeline doesn't look very useful to me and would probably be better as samples to start from than part of the library.

Why IOC is outdated according to MSDN?

It is said here:
http://msdn.microsoft.com/en-us/library/ff921087.aspx
I believe it's the Composite Application Library material that's retired, and not the concept of IoC in general.
IoC/ Dependency Injection is not outdated at all in my opinion. Its actually becoming more and more popular as more frameworks are being introduced for it. If its not solething you are currently looking to use then I would suggest having a look into it
try out ninject or structuremap if you havent already.
I have only recently got into it and its something i now feel very strongly about

Mongomapper documentation?

I have stumbled upon Mongoid which has great documentation: http://mongoid.org/docs/associations/
But I have heard that MongomMapper is de-facto for Rails.
Where do I find API documentation for using Mongomapper?
The standard answer from the author of MongoMapper is that the project is still young and that the API is still in flux. Download the latest version from Git and look at the tests. You should be able to get a fair idea of what is possible.
It's up on rdoc.info now: http://rdoc.info/github/jnunemaker/mongomapper
MongoMapper now has documentation on http://mongomapper.com