<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
<br>
<div class="moz-cite-prefix">On 11/17/2013 3:39 PM, Erez D wrote:<br>
</div>
<blockquote
cite="mid:CAMUp3wm29sZkkVjuEN4_qaJKyeXJZCkchiDrb5x85tOeJnrU-Q@mail.gmail.com"
type="cite">On Sun, Nov 17, 2013 at 10:36 AM, ik <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:idokan@gmail.com"
target="_blank">idokan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi, I think you tackle it wrong.<br>
<br>
</div>
If there is no need for accessing the database all the
time, why not cache the result in tools such as
Memcached or Redis ?<br>
</div>
</div>
</div>
</div>
</blockquote>
<div>then i will still need to poll Memcached or Redis. this may
speedup things, but it is still polling, which i try to avoid </div>
</blockquote>
If you are interested in the options for replacing client polling
this answer from stackoverflow is very helpful.<br>
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet">http://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet</a><br>
<br>
Depending on which approach you take you would need to find the
appropriate server side technology to interact with a MySQL
generated event.<br>
<pre class="moz-signature" cols="72">--
David Suna
<a class="moz-txt-link-abbreviated" href="mailto:david@davidsconsultants.com">david@davidsconsultants.com</a></pre>
</body>
</html>