These are chat archives for reactioncommerce/reaction

27th
Jul 2018
Patrick Newell
@pnewell4_twitter
Jul 27 2018 03:05
@liveljack I just got done doing the same thing... here is what I did:
1) I created a Schema and a Collection using that schema.
2) I wrote tests against the Collection using Mocha instead of Jest (Mocha is used more for integration tests in Reaction; Jest for unit tests)
3) I ran the tests using the --full-app flag (command: npm run test:app:watch), but used describe.only (instead of describe) to limit the tests that are run
.
I copied my plugin code to a small repo, if you'd like to take a look: https://github.com/Brewline/reaction-watchlist
S Tunji Turner
@stunjiturner
Jul 27 2018 08:56
With the new contrib/plugins approach, how will the pull requests get committed, who from the community will have commit rights ? How will this be decided?
Brent Hoover
@zenweasel
Jul 27 2018 08:58
For now that's going to be me. But we are hoping people from the community will step forward to be maintainers
Loan is already the maintainer for the s3 plugin
S Tunji Turner
@stunjiturner
Jul 27 2018 09:29
Approval process needs to be outlined and discussed ?
Will none meteor based plugins, work inside reaction ?
Abhishek
@thegtagamer
Jul 27 2018 11:57
@zenweasel Hey Brent..While using the reaction-dev-tools on reaction 1.13 and loading the medium data Set...The load times are drastically affected...How can we improve the load times in this case...Because a slow platform might just blow the users off
Brent Hoover
@zenweasel
Jul 27 2018 11:59
I have not seen that and I've never seen that in my testing
What sort of hardware are you running on?
Abhishek
@thegtagamer
Jul 27 2018 12:01
Im running it on my Local machine setup 8 GB RAM, 250 GB SSD
Brent Hoover
@zenweasel
Jul 27 2018 12:03
You need to be running a dedicated db server. Doing any load testing on your desktop doesn't provide you with any useful data
Abhishek
@thegtagamer
Jul 27 2018 12:04
@zenweasel Thanks for the input Brent..It'd be a great help if you could point me in the right direction..I
Brent Hoover
@zenweasel
Jul 27 2018 12:06
What sort of direction are you looking for?
Abhishek
@thegtagamer
Jul 27 2018 12:12
I'm load large data sets on my server setup in AWS...and atlas being my db service...When i create User instances of more than 30,000 at a time..I'm facing a white screen..I'm not sure but Probably I might have missed something in my setup architecture..because this doesnt seems like a usual behaviour...
I'm using Blazemeter
Brent Hoover
@zenweasel
Jul 27 2018 12:15
How are you creating 30,000 users?
Blazemeter told me that they don't do that many browser sessions
Brent Hoover
@zenweasel
Jul 27 2018 12:24
Didn't you say you were testing on your desktop?
Abhishek
@thegtagamer
Jul 27 2018 12:24
I switched to desktop, while failing on the server attempt..
Brent Hoover
@zenweasel
Jul 27 2018 12:25
Honestly 30k is way beyond the number of concurrent users I have tested with
But at that volume I would think you have dedicated devops resources?
Abhishek
@thegtagamer
Jul 27 2018 12:28
yes, we do...but they're also not sure about the reasons for this occurrence..Thats why i tried to dig further on it...
Brent Hoover
@zenweasel
Jul 27 2018 12:30
I haven't really seen any performances decrease with load but you need a really beefy db server
We're using the M50 at atlas
Abhishek
@thegtagamer
Jul 27 2018 12:31
Single instance ?
Brent Hoover
@zenweasel
Jul 27 2018 12:32
No, cluster. But single db
We haven't got into breaking the db up or anything at that level yet
If you are seeing white screens I think something is fundamentally wrong though
But then again that's a ton of load
Abhishek
@thegtagamer
Jul 27 2018 12:34
yep not sure, whats happening..trying to get a crack over this
Thank you Brent for in the inputs...I guess ill keep you posted
Brent Hoover
@zenweasel
Jul 27 2018 12:35
It's 8pm on Friday where I am but let's talk and see if I can help
Abhishek
@thegtagamer
Jul 27 2018 12:36
Sure
Brent Hoover
@zenweasel
Jul 27 2018 12:37
Pm me if you have some time next week
Abhishek
@thegtagamer
Jul 27 2018 12:37
Yep i'll just drop you a message in the chat now
Brent Hoover
@zenweasel
Jul 27 2018 12:39
:+1:
Ishmael Nkosikhona Sibisi
@cyber-claws
Jul 27 2018 13:01
Hi guys. I need some advice if possible. I am working of a product filter for some ecommerce that uses reaction and I am trying to find the best way to filter in/out products in the mainComponent in real time. Here is an image hope it can help clarify. https://drive.google.com/file/d/1bssVlqvokEjJfqzykAQTW4IrOAyt0XyN/view?usp=sharing
Abhishek
@thegtagamer
Jul 27 2018 13:17
@cyber-claws you can use Tags for this purpose
try building a plugin to load the specific data set on the basis tags like material, brand,etc..
Ishmael Nkosikhona Sibisi
@cyber-claws
Jul 27 2018 13:59
@thegtagamer Thanks that seemed to be the best bet...
amp9020
@amp9020
Jul 27 2018 15:00
the documenation online shows rest-api is not the way reaction-comm wants to go but can be enbled. my question is can i consume an external api to create a product catalog? (no commerece)
Joey
@JoeyLyman
Jul 27 2018 15:26
if i do one custom plug in it loads, but if i have multiple none of them load. Anyone know? thanks in advance!
Abhishek
@thegtagamer
Jul 27 2018 15:28
@JoeyLyman There might be some problem with your code..If a plugin contains some error...It resets the reaction platform to its normal state..i.e the changes are not visible for any plugins..try debugging which plugin is causing you this problem
Joey
@JoeyLyman
Jul 27 2018 15:29
@thegtagamer ah k thank you
Janus Reith
@janus-reith
Jul 27 2018 15:29
Hey, I uploaded an initial version of my new paypal plugin:
https://github.com/janus-reith/reaction-payments-paypal-express-new
Feel free to test and improve it :)
Loan Laux
@loanlaux
Jul 27 2018 15:31
Nice work @janus-reith :clap:
Janus Reith
@janus-reith
Jul 27 2018 15:37
Thank you
Ishmael Nkosikhona Sibisi
@cyber-claws
Jul 27 2018 16:36
@JoeyLyman Yeah, look at your code again, because I am currenctly loading tons of stock from an ERP system and it works fine.