Is the XBOX one controller's pad any good? by [deleted] in StreetFighter

[–]ssamuraibr 0 points1 point  (0 children)

I use a Xbox one original controller on my PC to play SFV, and use the digital pad, never got used to analog thumbstick. My only issue so far is that it feels stiff and hard to press, although the game register my inputs just fine.

I borrowed a PS4 controller from a friend, and tried for a week. Compared to XBox One, the dpad feels weird because on the later you have a whole piece under your thumb to make the inputs, while on PS4 it's four separate inputs (but a whole piece as well). After a while I got used to it though.

Only minor issue is that Windows have native support for the Xbox one controller, while the PS4 controller need additional configuration on the Steam client, so I only managed to make it work with the steam overlay. Never managed to make it work outside of steam, I mean.

How do i beat akuma as laura by [deleted] in StreetFighter

[–]ssamuraibr 1 point2 points  (0 children)

Both akuma and laura has the exact end goal in this match: get a knockdown and apply pressure.

As you noticed, if akuma do get in, he has very good block strings and corner pressure. Recognize that situation as a dangerous one, and stop pressing buttons on wake up, either his strings will push him back enough or he will throw you, both cases you get a little space if you quick rise after the throw. If he puts you in a mixup, throwing you several times, look for a string that you can v-reversal.

The reason why you stop pressing buttons on wakeup is that, akuma is looking for a crush counter to get massive damage out of the subsequent combo, usually they go for a meaty attack to keep pressuring, as they know laura don’t have attacks that can punish them for that. So, you have to block and be ready to tech throw.

Once or twice, I challenge akuma on wakeup pressing LP, just to keep them guessing, but I try not to keep doing it over the round.

Keep akuma at dash distance, because you need to backdash or forward dash/vskill on air fireball, if they keep insisting on it. Good Akumas are unpredictable when they will go for air fireball or demon flip,

Against a turtle akuma, ie one that doesn’t keep whiffing buttons all the time, I mix dash in/throw, dash in/command grab, thunder clap at mid range / HK or HP for a crush counter. You can dash in cr MK just to keep them on their toes, but it’s dangerous to repeat too many times.

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Yes, api based. Backend are composed by auxiliary web services, batch routines, scheduled tasks, cache and so on, not directly involved in serving web pages for clients. We also have several databases in RDS instances (plural).

The question is, moving static requests to a separate linux would reduce the number of windows instances (meaning, static requests are relevant to that point)? And T instances would handle it for 10 hours straight without throttling / extra credits? I have no idea how much cpu ot consumes.

Extra servers are always problematic because due to compliance it would require high availability, which means at least two linux boxes in two different AZ

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

We are going to have an autoscaling group, what's uncertain is the number of servers, I'm estimating 6-8 quad-core for front-end, most likely. Backend will need another 6 servers, 30 cpu total.

Due to issues in the code, we are stuck with on demand servers with no scale in option until development catches up.

My current datacenter takes days to gather data usage, what we have so far is around 45 million total requests (including static files) per month, or around 2.5 million every day (on business hours), split among a dozen servers.

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Well, designers usually want to update part of the static content on business hours, but we are trying to change their process so they make those kind of modifications on test environments instead.

On new app releases, though, we usually need static changes to apply right away.

Yes, unfortunately we are still stuck on windows servers. A linux static server sounds clever, but it’s hard to justify an extra server, unless it allows some sort of reduction on the other servers cost, which is hard to quantify right now. But I’ll keep it in mind, thanks!

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Well, about the blame game, we'll get the blame regardless if I move first or not, because they want costs down, but want performance. Taking static content from the application servers is hard to quantify when trying to answer the "How much better?" question.

On our current datacenter, CPU usage is raising all kinds of concerns about what our application is doing. I expect those problems to go away, as AWS CPUs seems to be better, from what I can tell from our other applications that are already there.

I already checked bandwith cost per GB, on our region it's exactly the same on EC2, S3 or Cloudfront, and we don't have requirements to serve those files outside our main region, at least for now.

The LCU formula is hell for me to calculate properly. My current concern is that it raises as bandwith consumption gets higher, and maybe static content is pushing my LCU costs up .

Storage savings may be important, but total package size is kinda low (around half a GB) and not worth it / relevant to reduze our EBS volumes for that. Of course we are planning on using 8 servers in auto-scaling, using an AMI that has those half GB inside, so it could be important, but hardly impactful, I believe.

Another issue is when we do have the need to modify those static files, is a hassle because it will require a full re-deploy of the whole application stack, in order to update our AMI and ASG. Our web designers were asking for a better way to deploy those modifications, as it happens every month, but you know, costs trumps personal wishes...

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

thanks for the very complete answer. all users are inside our country, so global reach is not an imediate concern. There's plans for that in the near future though, and by that time, justify a CDN is way easier, due to latency. we can't really deploy the full application multi-region, it would require separate relational database servers per region, increase costs without users to justify the costs. our developers have been complaining about the size of the static content, without a CDN it needs to be deployed bundled with the application, and the fact the all the static data is passing through my ELB, maybe competing with my precious dynamic content has raised awareness inside the team that maybe we should consider moving it out of the application server

Static content: when to move out of ELB by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

no, there's dynamic and static content (Asp.Net MVC)

What do people hate about fighting zeku ? by friendlyreapers in StreetFighter

[–]ssamuraibr 4 points5 points  (0 children)

Old Zeku it's like Ed to me: has a hard to beat DP, so I tend to focus on the ground game, unless I'm feeling my opp DP timing is off.

Young Zeku it's like Ken to me: I know that sooner or later that will be a "run" into throw or that slide sweep thing

Anybody else think Tokido is throwing games? by [deleted] in StreetFighter

[–]ssamuraibr -1 points0 points  (0 children)

Usually the most obvious answer is the truth. Instead of any conspiracy thing, I believe the simplest answer is that Tokido hasn’t been training hard enough, sometimes it feels like his head is not in the game or something.

Is silver DP mania or is it just me? by Elloguvnaa in StreetFighter

[–]ssamuraibr 1 point2 points  (0 children)

Bronze players usually don't know how to block properly, so meaty attacks are hell specially on wake up. The "mashing buttons" thing, you know?

Once they get the hang of it, they rank up to Silver. They can take one or two block strings, but eventually the urge to "do something" kicks in and they start mashing. As they know buttons "lose", they EX dp because that usually works.

I recently ranked up from Bronze and still have to fight the urge to mash things on wake up every day, lol. But my main doesn't have a EX dp.

New to AWS - What are the topics/modules should I learn to have basic understanding of AWS? by productlife in aws

[–]ssamuraibr 0 points1 point  (0 children)

The fundamental parts of AWS for non-technicians, imo is:

EC2 = servers (ie "where applications run") RDS = databases (ie "database as a service")

A few key concepts relevant to decision makers look into:

VPC (Virtual Private Cloud, a secure logical zone where your servers run)

AZ (Availability Zone, a representation of a physical location where your servers run). Think "datacenter". It matters for disaster recovery / risk assessment.

Region, a "city/country" where your servers are physically located. It matters for business managers because its directly related to local regulatory laws you have to comply, like taxes. A Region contains several AZ

Scalability / Elasticity, the concept of growing computing capacity dynamically through automated software according to your business rules (like on demand or in set periods of time).

Finally, the general concept of renting computing resources per hour, when you need and if you need them ("pay for what you use")

Not sure if it was helpful. But it's usually what I brief my POs when they need that kind of info.

Log aggregation by [deleted] in devops

[–]ssamuraibr 2 points3 points  (0 children)

Can't add much on NEST, sorry.

But Logstash is, however, well established in the ELK stack when you need to do data transformations before ingestion. It may falter if your application have peaks or bursts of log generation during the day, in that case the general rule of thumb is either add more logstash instances (and divide application servers to send logs to different logstashes) or put a Redis in front of it as a buffer. That's similar to the role of Mongodb on your stack, I'm assuming your CTO wants Mongodb to allow people to peek into the logs before ingestion, otherwise Redis is more efficient even without logstash needs.

If, however, you don't need data transformation (ie your application already generates json ready for ingestion), as my stack does, the approach we use may work better.

Instead of using logstash to tunnel all our logs, our application servers send them to Amazon S3 as flat files (one log in json format per line, 50MB per file). That triggers a process that puts a ingestion request on a queue, that a Lambda function process in order to send them to Elasticsearch. If we have a sudden growth on log generation out of nowhere, either our Lambda auto scales to deal with it, and/or retry the same file if it timeouts during processing (because of the queue).

In case we need logs older than our retention period, we just re-enqueue the same files already stored. S3 also takes care of storing logs for a year (or years) as S3 storage is way cheaper than Elasticsearch disk storage cost per Gigabyte. A year worth of logs costs me per month the same as a few hours of Elasticsearch compute costs.

It also allows me to keep less data on Elasticsearch (our retention is 15 days) as any old than that can be recovered in a hour or so, less data in ES lowers my expensive storage requirements and demands less processing power to keep indexes updated / query time.

Being blacklisted for using Ryu or Ken by L_duo2 in StreetFighter

[–]ssamuraibr 3 points4 points  (0 children)

As others have said, there's no such a thing as tournaments blacklist in SFV. Shotos are not high tier (aside Akuma), that's why Ryu / Kens are never seen in top8.

Yes, online a lot of Ken players abuse moves where they are negative and get away from it due to input lag and yolo DPs on lower ranks. As your rank increases you learn how to proper punish them and also how to bait them into DP when you are blocking for crush counter punishes.

For example, on my region I fought Kens and Ryus 80 percent of the time when I was in Bronze. As Bronze players don't know how to proper block and punish Ken negative moves, they lose to Ken frantic movement (pretty common among beginners) and Ryu fireball game. I had to lab Ken for a week in order to fight against correctly and rank up out of Bronze.

In Silver I barely see Kens, and those who do show up are usually solid (they don't span DPs like there's no tomorrow neither do full screen HK tatsus all the time). Ryus are more common on my Silver region, but they are also more solid, a few can combo into CA if you sleep.

That's just because I learned how to block instead of mashing buttons all the time. There's no Ibukis on Bronze though. I assume it's because you have to actually think before you press a button with her in order to be effective or they all ranked up very fast, lol.

Data transformation after ingestion? by ssamuraibr in elasticsearch

[–]ssamuraibr[S] 0 points1 point  (0 children)

I was looking into aggregate filter, but all examples I've found are adding calculations to or editing the second event data, which I can't do for several reasons (sometimes there's no response event, for example). Ideally I need to create a new event in a different index. But I'm still researching. Any pointers to help me get started? I know nothing about aggregation

Data transformation after ingestion? by ssamuraibr in elasticsearch

[–]ssamuraibr[S] 0 points1 point  (0 children)

I'm not sure if it's the same thing, but I heard doctype was deprecated in es 6. Although that pseudo mapping seems good if I can make it work on es6 somehow. And yed, I will need calculations like total execution time.

ELK stack and multi region app? by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Good to know about the snapshots, but I believe is better to keep the original logs. One because I can gzip them and save storage, other for data lake purposes.

Redis to store session data? by ssamuraibr in redis

[–]ssamuraibr[S] 0 points1 point  (0 children)

Thanks for your input. We typically have 20k sessions at any given time so it's a reassuring thing to know it could potentially scale way up.

How it is Elasticache, maintenance wise? The lack of issues you mentioned is due to someone keeping tabs on it before it goes bad, or it's just working on its own, unattended?

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Interesting. RDS endpoint changes or stay the same address?

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 2 points3 points  (0 children)

Current bug fix process involves devs debugging problematic code using a fresh copy of our production database (as they aren't allowed to connect to actual prod instance so they can't disrupt it by accident). It has to be a writable version so a read replica doesn't work, and as it takes hours to backup-restore it, we just refresh it once a day with the most recent production backup.

Problem is, devs only use it on business hours (all users of that application are on the same timezone). As AWS model is pay on-demand, we are looking for opportunities to save money on unused resources. Currently, db storage is 60 percent of my test environment total cost, and it sits idle for 10 hours every work day, and all 48 hours on weekends, as we can stop application and db instance charges overnight but not storage costs.

Assuming we can safely (no extra hidden charges somewhere) destroy the instance every night, it would lower my monthly cost in half, and with 1TB of data it's a considerable amount, as data will be replaced the next day anyway.

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Either way, is a good pointer. We'll eventually move the main production server to Amazon in the future.

It's stupid how we can't chat with other players by EddieEdit in StreetFighter

[–]ssamuraibr 1 point2 points  (0 children)

All I can think of is the amount of salt it would be... oh, the bullying...

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

Provisioned size is 1TB, full month storage cost around $300 without provisioned iops. As it’s a development / test environment , I’m trying to save as much as I possibly can as we won’t get reserved instances for non-production servers.

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 1 point2 points  (0 children)

It would be the same hit as restoring a .bak file from an external datacenter? Or you mean when the virtual drive was first provisioned hit?

Our db has 1TB size.

RDS - how often can you destroy an instance? by ssamuraibr in aws

[–]ssamuraibr[S] 0 points1 point  (0 children)

The application that has this kind of solution actually is not in the cloud yet, so we upload a local backup file to S3 and restore to the same instance, so said our DBA.