﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Implications of design decisions: Read Striping</title><description>Rafal,
You have control over that as a user, you can decide whatever to pass the same replication base whenever using the same user.</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment9</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment9</guid><pubDate>Wed, 18 Jul 2012 06:14:11 GMT</pubDate></item><item><title>Rafal commented on Implications of design decisions: Read Striping</title><description>Joao, not everyone is doing blogs ;)
This 'session consistency' is a very weak guarantee for web applications when subsequent requests are very likely to be served from different replicas. Also, this approach requires bidirectional replication with very low latency, which will likely cause problems.
'User session' consistency would be a much better guarantee (the same database handling all requests from an user/web client). For example, some load balancers use client IP address to direct that client's request to same web server.</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment8</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment8</guid><pubDate>Tue, 17 Jul 2012 19:37:58 GMT</pubDate></item><item><title>peter commented on Implications of design decisions: Read Striping</title><description>OK, I read up a little on Monotonic writes and what the sentence means is that &lt;i&gt;programming against&lt;/i&gt; systems without this guarantee is notoriously difficult.</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment7</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment7</guid><pubDate>Tue, 17 Jul 2012 17:03:52 GMT</pubDate></item><item><title>peter commented on Implications of design decisions: Read Striping</title><description>"Systems that do not guarantee this level of consistency are notoriously hard to program."

I am sure thart should say "Systems that guarantee this level of consistency are notoriously hard to program." ?</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment6</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment6</guid><pubDate>Tue, 17 Jul 2012 16:47:41 GMT</pubDate></item><item><title>João P. Bragança commented on Implications of design decisions: Read Striping</title><description>Rafal,

That would only be an issue if the user spent less time on the screen than it took for replication to occur. And even so, usually it isn't a big deal. We don't always see our comments on the blog post right after we make them.</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment5</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment5</guid><pubDate>Tue, 17 Jul 2012 16:43:00 GMT</pubDate></item><item><title>Karg commented on Implications of design decisions: Read Striping</title><description>The Session is an object that you create in code. It lives until you dispose of it. Therefore, you have control over the duration of your "consistency".</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment4</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment4</guid><pubDate>Tue, 17 Jul 2012 15:37:28 GMT</pubDate></item><item><title>Rafal commented on Implications of design decisions: Read Striping</title><description>but if you have a session per http request then the next request from the same user is quite likely to go to another server, isn't it? And maybe there will be no 'kaboom' but the user will be quite surprised when he won't see the changes he has just made...</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment3</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment3</guid><pubDate>Tue, 17 Jul 2012 11:31:06 GMT</pubDate></item><item><title>Ayende Rahien commented on Implications of design decisions: Read Striping</title><description>Simon,
Session id comes from a simple int32 that gets incremented on every session.
It is not a connection id.

Writes usually goes to the master, always, and the way RavenDB works, you do all the reads up front, then do a single write.</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment2</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment2</guid><pubDate>Tue, 17 Jul 2012 09:46:49 GMT</pubDate></item><item><title>Simon Hughes commented on Implications of design decisions: Read Striping</title><description>Simple solutions are always the best.
Where does the session number come from? Is that similar a connection ID?
What about using a website to update/read data. i.e. Could a load balancer affect your session number, by spreading your access over two webservers?</description><link>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment1</link><guid>http://ayende.com/157057/implications-of-design-decisions-read-striping#comment1</guid><pubDate>Tue, 17 Jul 2012 09:43:01 GMT</pubDate></item></channel></rss>