Udon - mrallen1 (Mark Allen) · GitHub

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Udon - mrallen1 (Mark Allen) · GitHub

lrPrentice
Hello,

Just finished viewing Mark Allen's excellent 2015 Riak Core presentation and have been reviewing his Udon code on GitHub.

https://github.com/mrallen1

Now I have two Micky-the-Dunce questions:

1. Assuming a web-based system similar to Udon on a cluster of five physical cores with data distributed across three virtual nodes, can one enter and access the data through any one of the five physical nodes?

In other words, can one put a load balancer in front of the five physical nodes to enter and access data regardless of where it's ultimately stored in the cluster?

2. Can KV functionality be relatively easily built on top of Udon--- providing storage of, say, Erlang terms as well as files?

Thanks to all,

LRP


Sent from my iPad

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Udon - mrallen1 (Mark Allen) · GitHub

Russell Brown-4

On 9 Jul 2017, at 21:54, Lloyd R. Prentice <[hidden email]> wrote:

> Hello,
>
> Just finished viewing Mark Allen's excellent 2015 Riak Core presentation and have been reviewing his Udon code on GitHub.
>
> https://github.com/mrallen1
>
> Now I have two Micky-the-Dunce questions:
>
> 1. Assuming a web-based system similar to Udon on a cluster of five physical cores with data distributed across three virtual nodes, can one enter and access the data through any one of the five physical nodes?
>
> In other words, can one put a load balancer in front of the five physical nodes to enter and access data regardless of where it's ultimately stored in the cluster?

Yes, usually the node that handles the request has access to both the ring (a routing table/mapping of partitions to nodes) and the hash function.

>
> 2. Can KV functionality be relatively easily built on top of Udon--- providing storage of, say, Erlang terms as well as files?

I haven’t looked at Udon, but a KV store on riak core is a very common thing. There are quite a few examples out there, the largest (and most complex) being Riak itself https://github.com/basho/riak

>
> Thanks to all,
>
> LRP
>
>
> Sent from my iPad
>
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Udon - mrallen1 (Mark Allen) · GitHub

DeadZen
1. Yes, A lot of people use haproxy for this.
2. Would be a simple reimplementation of the get/put coordinators from riak

On Sun, Jul 9, 2017 at 5:24 PM, Russell Brown <[hidden email]> wrote:

>
> On 9 Jul 2017, at 21:54, Lloyd R. Prentice <[hidden email]> wrote:
>
>> Hello,
>>
>> Just finished viewing Mark Allen's excellent 2015 Riak Core presentation and have been reviewing his Udon code on GitHub.
>>
>> https://github.com/mrallen1
>>
>> Now I have two Micky-the-Dunce questions:
>>
>> 1. Assuming a web-based system similar to Udon on a cluster of five physical cores with data distributed across three virtual nodes, can one enter and access the data through any one of the five physical nodes?
>>
>> In other words, can one put a load balancer in front of the five physical nodes to enter and access data regardless of where it's ultimately stored in the cluster?
>
> Yes, usually the node that handles the request has access to both the ring (a routing table/mapping of partitions to nodes) and the hash function.
>
>>
>> 2. Can KV functionality be relatively easily built on top of Udon--- providing storage of, say, Erlang terms as well as files?
>
> I haven’t looked at Udon, but a KV store on riak core is a very common thing. There are quite a few examples out there, the largest (and most complex) being Riak itself https://github.com/basho/riak
>
>>
>> Thanks to all,
>>
>> LRP
>>
>>
>> Sent from my iPad
>>
>> _______________________________________________
>> riak-users mailing list
>> [hidden email]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Udon - mrallen1 (Mark Allen) · GitHub

lrPrentice
Wow!

Two invaluable replies within 30 minutes.

You guys are the best.

Now I've got to dig in deep to see if I can turn fantasy into reality.

All the best,

Lloyd

Sent from my iPad

> On Jul 9, 2017, at 5:29 PM, DeadZen <[hidden email]> wrote:
>
> 1. Yes, A lot of people use haproxy for this.
> 2. Would be a simple reimplementation of the get/put coordinators from riak
>
>> On Sun, Jul 9, 2017 at 5:24 PM, Russell Brown <[hidden email]> wrote:
>>
>>> On 9 Jul 2017, at 21:54, Lloyd R. Prentice <[hidden email]> wrote:
>>>
>>> Hello,
>>>
>>> Just finished viewing Mark Allen's excellent 2015 Riak Core presentation and have been reviewing his Udon code on GitHub.
>>>
>>> https://github.com/mrallen1
>>>
>>> Now I have two Micky-the-Dunce questions:
>>>
>>> 1. Assuming a web-based system similar to Udon on a cluster of five physical cores with data distributed across three virtual nodes, can one enter and access the data through any one of the five physical nodes?
>>>
>>> In other words, can one put a load balancer in front of the five physical nodes to enter and access data regardless of where it's ultimately stored in the cluster?
>>
>> Yes, usually the node that handles the request has access to both the ring (a routing table/mapping of partitions to nodes) and the hash function.
>>
>>>
>>> 2. Can KV functionality be relatively easily built on top of Udon--- providing storage of, say, Erlang terms as well as files?
>>
>> I haven’t looked at Udon, but a KV store on riak core is a very common thing. There are quite a few examples out there, the largest (and most complex) being Riak itself https://github.com/basho/riak
>>
>>>
>>> Thanks to all,
>>>
>>> LRP
>>>
>>>
>>> Sent from my iPad
>>>
>>> _______________________________________________
>>> riak-users mailing list
>>> [hidden email]
>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> [hidden email]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com