kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
harish has quit [Ping timeout: 256 seconds]
isd has quit [Ping timeout: 248 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 240 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 264 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 276 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 264 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 264 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 240 seconds]
crab has joined #sandstorm
<crab> hi.
<crab> i love sandstorm, but i'm losing my mind because apps take so long to load. my SO is trying to send "get shareable link" links to a radicale calendar with someone, and most of the time those links take >3min to load, if they ever do.
<crab> and it's not just shareable links, often there's such a slowdown even when i'm opening the calendar grain myself. i'm hoping someone can help me try to debug this problem.
<crab> in the network console in firefox, i see that the browser issued a bunch of parallel requests, and one in particular, "compressed.js?9df…" took 221s to download, out of which the connect/tls negotiation was all over in a couple of seconds, and the rest was just reading the 2.6MB of response. and once that finished, all the other parallel requests were quickly completed. those ones were "blocked" for 220s and then completed very fast.
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
<crab> even if i try to open just that file in a separate browser tab, it takes 220s+
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 248 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 276 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 268 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 248 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 245 seconds]
nwf has quit [Ping timeout: 260 seconds]
nwf has joined #sandstorm
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 255 seconds]
hfrk has joined #sandstorm
<hfrk> Hi
<hfrk> Is there a way to use client certificates with sandstorm to increase security?
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 268 seconds]
larjona has quit [Ping timeout: 245 seconds]
<TimMc> hfrk: Per-user, as the Sandstorm auth method? not that I'm aware of.
pie_ has joined #sandstorm
<TimMc> crab: Oh yeah, I saw that go by on the list, but I didn't catch the details.
<TimMc> crab: What kind of server are you using?
frigginglorious has joined #sandstorm
larjona has joined #sandstorm
<crab> TimMc: it's an i7-6700 (3.4GHz) box with 64GB of RAM.
<crab> if that's what you meant.
<TimMc> And is Sandstorm running directly on it, or in a VM?
<TimMc> (I've got Sandstorm running on a 10 year old HP laptop the neighbor threw out, so those specs should be plenty good enough!)
<crab> it's running directly.
frigginglorious has quit [Ping timeout: 260 seconds]
<kentonv> no app should take 3 minutes to load. Something is definitely wrong.
<kentonv> crab, is it possibly a slow network or does it happen even on LAN?
<crab> i haven't tried it on a LAN.
<crab> my connection isn't great, but i copied the offending "compressed.js" to a directory served by nginx outside sandstorm, and i can consistently download it via wget in ~60s
<crab> whereas through sandsorm i often see >300s download times
<crab> the lowest time i've seen through sandstorm for that file to download in the browser is about 120s.
<TimMc> Your DNS lookup taking 6 seconds is kind of weird too.
<TimMc> OK, you say it takes you 60 seconds to download 2.6 MB from outside of Sandstorm -- is that expected, for your internet connection?
<crab> yes.
<TimMc> So that explains slowness overall, but not why Sandstorm is *slower* -- so it doesn't necessarily point out a network stack problem inside the machine.
<kentonv> whoa what is this 2.6MB JS file? Sandstorm's JS is 326k...
<crab> it's bundled with "infcloud", that's bundled with radicale.
<TimMc> kentonv: sounds webscale ;-)
frigginglorious has joined #sandstorm
<kentonv> Hmm. I wonder if Sandstorm has some sort of bug where in the presence of a relatively slow connection it actually applies too much backpressure making downloads even slower.
<kentonv> Though it could also be radicale that has the bug.
<kentonv> I guess the way to test would be to download a large file from Davros and see if it saturates the connection properly.
ocdtr_web has joined #sandstorm
<ocdtr_web> I don't know if it's a Sandstorm bug, kentonv, because I downloaded compressed.js from crab's Radicale grain in 1.2 seconds.
<ocdtr_web> Which would also suggest it isn't a Radicale bug either, but a bug/issue with crab's client.
<kentonv> is crab's server in a datacenter or on a home internet connection?
<ocdtr_web> (That being said, I believe Radicale is LONG overdue for some app update love, given that people do use it.)
<kentonv> ocdtr_web, the fact that you downloaded it in 1.2 seconds doesn't mean there isn't a bug in sandstorm -- the bug I described would manifest when pushing to a slow end-to-end connection
<ocdtr_web> Ah
<kentonv> it could be, for example, that crab's internet connection has extremely long latency which means that lots of packets can be in-flight before the first packet is finally ack'd. And maybe Sandstorm is doing networking wrong such that it doesn't manage to put enough packets in-flight.
<kentonv> normally the OS should take care of that, though
pie_ has quit [Quit: Leaving]
isd has joined #sandstorm
<ocdtr_web> isd: bootstarp sounds like somewhere you'd put your boots so they don't ruin your floors.
<isd> "boots tarp"
<isd> :P
<isd> Didn't even think of that; knowing what it was supposed to be my brain insisted on parsing it as "boot starp" which makes even less sense.
<ocdtr_web> :D
<ocdtr_web> I didn't know a cluttered PR list was a thing/concern.
<ocdtr_web> I never looked at that tab until recently.
<ocdtr_web> I have two open for definitely-abandoned projects that will probably never see love or affection of any kind.
<ocdtr_web> One that adds a desperately needed feature to a project that refuses to accept it.
<isd> Yeah, the link at the top lists them, which I find useful to keep track of things when I've got several in-flight.
<ocdtr_web> And the rest are currently sandstorm-io PRs
<isd> At some point you either have to fork or just forget about it.
<ocdtr_web> I want the PR for marked there as a constant reminder of how they should totally just merge it.
<ocdtr_web> "It has merge conflicts now" -> "K, rebased on master"
<isd> :P
<ocdtr_web> "It doesn't have tests" -> "K, added tests"
<ocdtr_web> "We're not sure how it fits in with our eventual planned roadmap of nonsense"
<ocdtr_web> Oh, I almost forgot the "It's not part of the specification", which someone else pointed out that it fell outside of the type of thing the specification covered.
xet7 has joined #sandstorm
harish has joined #sandstorm
pie_ has joined #sandstorm
ocdtr_web has quit [Quit: Page closed]
koad has quit [Ping timeout: 264 seconds]
xet7 has quit [Remote host closed the connection]
hfrk has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
isd has quit [Ping timeout: 265 seconds]
jemc has joined #sandstorm
isd has joined #sandstorm
pie_ has quit [Quit: Leaving]