Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18086

Re: scylldb and php? anyone building a site with them on archlinux?

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: scylldb and php? anyone building a site with them on archlinux?
Date 2019-11-05 18:34 +0100
Message-ID <h2dq4gF31dqU1@mid.individual.net> (permalink)
References <4e081378-85fa-4ff5-88a5-b6580c9330b1@googlegroups.com> <h2chl7Fp7dtU1@mid.individual.net> <fe639aa3-e9d1-49d1-9b26-8e52f12a4f4f@googlegroups.com>

Show all headers | View raw


On 05/11/2019 07.14, Azathoth Hastur wrote:

> artix looks good, I had not heard systemd is that bad before....

If I remember it right, systemd had somewhere around 56 security 
vulnerabilities (including remote code execution) the last couple of 
years, that is far more than the other init systems combined in their 
entire lifespans.

Sure there are some good features in systemd, but the big code base 
makes it quite vulnerable to new security issues.


> I like freebsd.org  what do you think? openbsd best for security?

It's been years sine I run BSD, I don't have anything negative to say 
about it. When I used BSD it was mainly NetBSD, mainly for they had the 
best platform support back when I still used a variety of different 
platforms. I would go for OpenBSD for anything that was accessible from 
the internet.


> oh the scylladb php driver is compiled? thats ez though probably...

It's not much work to compile the driver, it's just that you need to 
keep an eye on their website/maillist so you know when there is a 
security vulnerability and you should update to a new fixed version.


> how do you make the app handle shared sessions?

Simplest is to have a common storage like a database of some sort that 
all the web-servers (application servers) can access, you store the 
session data in the database. In php this requires you to write a custom 
session handler and use it.
You can of course use the scylladb as the database to store the session 
data in.
If you have this working, then you can use round robbin on the ha-proxy 
without the user gets logged out. Of course you should include a check 
on load to see to which machines you should send the traffic to.

I don't think you need ha-proxy for the sculladb itself, I guess it do 
have some fail over feature built in it's always-on availability, so you 
will be able to get data from a working node.

-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

scylldb and php?  anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-11-04 20:04 -0800
  Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-05 07:03 +0100
    Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-11-04 22:14 -0800
      Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-05 18:34 +0100
        Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-11-06 12:22 -0800
          Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-07 06:57 +0100
            Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-11-07 05:35 -0800
              Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-07 21:49 +0100
                Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-12-26 14:22 -0800
    Re: scylldb and php? anyone building a site with them on archlinux? Arno Welzel <usenet@arnowelzel.de> - 2019-11-08 01:54 +0100
      Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-08 06:46 +0100
        Re: scylldb and php? anyone building a site with them on archlinux? Arno Welzel <usenet@arnowelzel.de> - 2019-11-09 17:03 +0100
          Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-09 20:58 +0100
            Re: scylldb and php? anyone building a site with them on archlinux? Arno Welzel <usenet@arnowelzel.de> - 2019-11-09 23:58 +0100
              Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-10 10:26 +0100
                Re: scylldb and php? anyone building a site with them on archlinux? Arno Welzel <usenet@arnowelzel.de> - 2019-11-10 10:59 +0100
                Re: scylldb and php? anyone building a site with them on archlinux? "J.O. Aho" <user@example.net> - 2019-11-10 11:15 +0100
                Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-12-26 14:25 -0800
                Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-12-26 14:25 -0800
                Re: scylldb and php? anyone building a site with them on archlinux? Arno Welzel <usenet@arnowelzel.de> - 2019-12-30 15:28 +0100
      Re: scylldb and php? anyone building a site with them on archlinux? Azathoth Hastur <azathothhaster@gmail.com> - 2019-12-26 14:23 -0800
  Re: scylldb and php? anyone building a site with them on archlinux? Härra Rabmo <he12091983@gmail.com> - 2022-07-08 06:45 -0700

csiph-web