<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I honestly can't say how good your code is myself but have you taken a look at Riak and Couchbase? Both solve exactly these problems, though admittedly in different ways. Riak would give you HTTP api while Couchbase has officially supported 'smart clients' in various languages, including Java. My boss was leery of allowing Erlang into our ecosystem since I'd be the only one who knew anything about it but Couchbase fit our needs so well we are modifying our entire infrastructure around it. I still haven't told him it's written primarily in Erlang :)<div><br></div><div>Chris<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 25 Oct 2012 14:08:14 -0700<br>From: jrosenblum@prodigy.net<br>To: erlang-questions@erlang.org<br>Subject: [erlang-questions] Did I do it right?<br><br><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:14pt"><div style="font-family:arial, helvetica, sans-serif;font-size:14pt"><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">Kind and Wise List;</span><br></div><div style="font-family:arial, helvetica, sans-serif"><div style="font-family:'times new roman', 'new york', times, serif"><div id="ecxyiv1830009802"><div><div><font size="3"><span></span></font><br><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"> For selfish and professional reasons, I regularly attempt medium-to-deep dives on interesting technologies (Ruby, Go, etc.), and about 12 months ago I started looking at Erlang. I have become a huge fan of the entire Erlang Ecosystem and have tried to be a good student. </span><br><font size="3"><span></span></font><br><span style="font-family:'times\00000d\00000a new roman', 'new york', times, serif;font-size:12pt">Like many, I taught myself by reading the usual books, going to the usual websites, looking at existing projects, following this list and participating in stackoverflow.  And, like many I suspect, I wrote a cache ;)</span><br><font size="3"><span></span></font><br><span><font size="3">What I wrote could solve a problem for my company which builds and deploys an enterprise application which needs to cache domain-objects (assembled from a variety of Oracle or MSSQL tables) and provide them to web clients. We currently use an in-process cache that is part of a fairly typical Java-stack application. Unfortunately it is difficult to cluster, and it doesn't provide us with the level of control and specialization that we would like. A successful cache needs to be available on 2 or 3 nodes for redundancy and to handle load</font>. There are 200 - 400 clients producing about <font size="3">50 transactions per second bursting to about 200 transactions per second for a few minutes at a time (probably 80% reads). Our software is installed in customer's data centers - no public Internet involvement. What I wrote would seem to fulfill these requirements.</font></span><br><font size="3"><span></span></font><br><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">As a company, based on my enthusiasm, we are considering Erlang, and my cache is going to be looked at as a reference implementation, learning tool and poc. </span><br><font size="3"><span></span></font><br><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">What I don't know is: Did I create a piece of crap example of Erlang that does the entire community a disservice; or, did I do a reasonable job of representing what could, and should, be done with the technology?</span><br><font size="3"><span></span></font><br><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">If anyone is feeling charitable, and wouldn't mind helping develop a good Erlang Citizen, I would appreciate any comments or suggestions on what I have done. </span><br><font size="3"><span></span></font><br><span style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">It can be found at </span><span style="font-family:'times new roman', 'new york', times, serif;font-size:15px;line-height:19px;white-space:nowrap"><a rel="nofollow" href="https://github.com/jr0senblum/JCache" target="_blank">https://github.com/jr0senblum/JCache</a></span></div><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><font face=".HelveticaNeueUI"><span style="font-size:15px;line-height:19px;white-space:nowrap"><br></span></font></div><div style="font-family:'times new roman',\00000d\00000a 'new york', times, serif;font-size:12pt"><font face=".HelveticaNeueUI"><span style="font-size:15px;line-height:19px;white-space:nowrap">If this is an inappropriate request, I apologize and please feel free to ignore this all together.</span></font></div><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><font face=".HelveticaNeueUI"><span style="font-size:15px;line-height:19px;white-space:nowrap"><br></span></font></div><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><font face=".HelveticaNeueUI"><span style="font-size:15px;line-height:19px;white-space:nowrap">Thanks in advance,<br></span></font><span style=""></span><br><span style="">Jr0</span></div></div></div><br><br> </div> </div>  </div><br>_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions</div></div>                                       </div></body>
</html>