米哈游秋招后端 - IM - 一面挂
8.6投递 -> 8.10笔试(3/3) -> 8.20一面挂
长轮询嘴瓢说成长链接,sql语句具体怎么走索引晕头转向,粘包没说明白,晕掉咯
一面:
1、实习提问;
2、登录系统设计,姓名密码怎么存储在数据库,什么是sso,为什么要加盐,什么是彩虹表攻击;
3、设计一个扫码登陆系统,websocket和http区别;
4、http1.1,http2,http3;
5、http1.1中,怎么收包,怎么确定什么时候包收完了,怎么解决TCP粘包问题,header和body都存什么东西,怎么抓包,chunked知道吗;
6、mysql里假设:某个表有一个联合索引(c1,c2,c3,c4)
建表语句是:
create table t1(
c1 char(1) not null default '',
c2 char(1) not null default '',
c3 char(1) not null default '',
c4 char(1) not null default '',
c5 char(1) not null default ''
)engine myisam charset utf8;
索引是:
alter table t1 add index c1234(c1,c2,c3,c4);
下面ABCDE五个sql语句怎么走索引,执行计划是什么?
A where c1=x and c2=x and c4>x and c3=x
B where c1=x and c2=x and c4=x order by c3
C where c1=x and c4= x group by c3,c2
D where c1=? and c5=? order by c2,c3
E where c1=? and c2=? and c5=? order by c2,c3
长轮询嘴瓢说成长链接,sql语句具体怎么走索引晕头转向,粘包没说明白,晕掉咯
一面:
1、实习提问;
2、登录系统设计,姓名密码怎么存储在数据库,什么是sso,为什么要加盐,什么是彩虹表攻击;
3、设计一个扫码登陆系统,websocket和http区别;
4、http1.1,http2,http3;
5、http1.1中,怎么收包,怎么确定什么时候包收完了,怎么解决TCP粘包问题,header和body都存什么东西,怎么抓包,chunked知道吗;
6、mysql里假设:某个表有一个联合索引(c1,c2,c3,c4)
建表语句是:
create table t1(
c1 char(1) not null default '',
c2 char(1) not null default '',
c3 char(1) not null default '',
c4 char(1) not null default '',
c5 char(1) not null default ''
)engine myisam charset utf8;
索引是:
alter table t1 add index c1234(c1,c2,c3,c4);
下面ABCDE五个sql语句怎么走索引,执行计划是什么?
A where c1=x and c2=x and c4>x and c3=x
B where c1=x and c2=x and c4=x order by c3
C where c1=x and c4= x group by c3,c2
D where c1=? and c5=? order by c2,c3
E where c1=? and c2=? and c5=? order by c2,c3
全部评论
佬,面完多久挂的
相关推荐


点赞 评论 收藏
分享
点赞 评论 收藏
分享